FROM openjdk:17
#FROM bellsoft/liberica-openjdk-debian:17.0.11-cds
VOLUME /logs
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]